﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： UserCustomerRelEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-07-31
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
    /// <summary>
    ///客户用户关系数据实体  
    /// </summary>
    [PrimaryKey("UserRelID")]
    public class UserCustomerRel
    {
        ///<summary>
        ///客户用户关系
        ///</summary>
        public UserCustomerRel()
        {
        }


        ///<summary>
        ///主键
        ///</summary>
        [Column("UserCustomerID", "主键")]
        public int UserCustomerID { get; set; }

        ///<summary>
        ///逻辑标识
        ///</summary>
        [Column("IsActvie", "逻辑标识")]
        public int IsActvie { get; set; }

        ///<summary>
        ///创建时间
        ///</summary>
        [Column("CreateDate", "创建时间")]
        public DateTime CreateDate { get; set; }

        ///<summary>
        ///创建人
        ///</summary>
        [Column("CreateBy", "创建人")]
        public int CreateBy { get; set; }

        ///<summary>
        ///用户ID
        ///</summary>
        [Column("UserID", "用户ID")]
        public int UserID { get; set; }

        ///<summary>
        ///客户ID
        ///</summary>
        [Column("CustomerID", "客户ID")]
        public int CustomerID { get; set; }

        ///<summary>
		///OpenID
		///</summary>
        [Column("OpenID", "OpenID")]
        public string OpenID { get; set; }

    }
}